<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width: 50px;
            height: 50px;
            /*垂直对齐方式
            baseline基线对齐(默认)
            top 上
            bottom 下
            middle 中间*/
            vertical-align: middle;
        }
    </style>
</head>
<body>
<input type="text"><img src="../220616-1635257176b5c8.jpg" alt=""><span>abcdefg</span>
</body>
</html>